package com.beta.cust.bind.datasync.service;

import com.alibaba.fastjson.JSONObject;

/**
 * @author by lchen2
 * @Classname ISyncWechatWorkEmployeeInfo
 * @Description 同步员工相关信息
 * @Date 2021/6/29 8:23 下午
 */
public interface ISyncWechatWorkEmployeeInfo {

    /**
     * 同步部门员工
     * 参考地址：https://developer.work.weixin.qq.com/document/path/90201
     *
     * @param corpId -> 企业id -> 是否必须：是
     */
    boolean syncWechatWorkEmployeeInfo(String corpId);


    void createEmployee(String userID, String corpId, String agentId);

    void updateEmployee(String userID, String corpId, String agentId);

    void deleteEmployee(String userID, String corpId);
}
